<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{{name}} `s Watchlist</title>
    <link rel="icon" href="{{ url_for('static', filename='images/totoro.gif')}}">
    <link rel="stylesheet" href="{{ url_for('static', filename='style.css')}}">
</head>

<body>
    <h2><img class="avatar" src="{{ url_for('static', filename='images/avatar.png')}}" alt="">{{name}}`s Watchlist</h2>
    <p>{{movies|length}} Titles</p>
    <ul class="movie-list">
        {% for movie in movies %}
        <li>{{movie.title}}-{{movie.year}}</li>
        {% endfor %}
    </ul>
    <img class="totoro" src="{{ url_for('static', filename='images/totoro.gif')}}" alt="Walking Totoro">
    <footer>
        <small>&copy:2018 <a href="http://helloflask.com/book/3">HelloFlask</a></small>
    </footer>
</body>

</html>